package xin.yangshuai.swagger2.support;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * User
 *
 * @author shuai
 * @date 2020/5/24
 */
@ApiModel(description= "用户")
@Data
@Accessors(chain = true)
public class User {
    @ApiModelProperty(value = "id")
    private Integer id;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "年龄")
    private Integer age;
}
